LiteSpeed\Cloud D

Total Complexity 251
Dependencies 12
Dependents 17
Total lines 1,427
Lines of code 830
Logical lines of code 573
Comment lines 269
Methods 43
Properties 9

Methods 43

Method Rating Maintainability Complexity Lines of code
detect_cloud()
C
32 30 91
extract_msg()
C
33 27 89
allowance()
B
45 18 40
_maybe_cloud()
B
42 16 48
_parse_response()
A
40 13 59
_update_news()
A
50 13 26
gen_key()
A
45 9 40
parse_qc_redir()
A
48 9 31
handler()
A
50 8 30
_post()
S
49 7 28
check_dev_version()
S
54 7 20
rest_err_domains()
S
56 7 16
_get()
S
50 6 28
save_apikey()
S
53 6 21
_parse_rest_response()
S
52 5 23
is_from_cloud()
S
59 5 14
ip_validate()
S
55 4 19
_is_err_domain()
S
64 5 9
_validate_hash()
S
59 4 14
sync_usage()
S
61 4 12
clear_cloud()
S
62 4 12
version_check()
S
61 4 11
req_rest_api()
S
55 3 20
_parse_link()
S
62 4 10
news()
S
64 4 10
has_pkg()
S
69 3 6
_link_to_qc()
S
61 2 12
_update_ips()
S
61 2 11
_maybe_queue()
S
75 2 4
show_promo()
S
71 2 6
_clear_promo()
S
66 2 9
can_token()
S
77 2 3
set_keygen_token()
S
66 2 8
token_validate()
S
63 2 10
can_link_qc()
S
78 2 3
ok()
S
76 1 4
err()
S
78 1 3
_clean_api_key()
S
63 1 9
set_linked()
S
76 1 4
post()
S
74 1 4
get()
S
75 1 4
_remove_domain_from_err_list()
S
76 1 4
__construct()
S
73 1 5